{% extends "site_base.html" %}
{% load i18n %}

{% block body %}
<!--<form method="post" action=".">
  {{ form.as_p }}

  <input type="submit" value="{% trans 'Submit' %}" />
</form>-->

<form action="." method="post" enctype="multipart/form-data">
  {% csrf_token %}
  {{ form.non_field_errors }}
  {% for field in form %}
      <div class="field-wrapper">
        <div class="label-wrapper">
          {% trans field.label_tag %}
          {% if field.field.required %}<span class="required">*</span>{% endif %}
        </div>
        <div class="value-wrapper">
          {{ field }}
          {{ field.errors }}
        </div>
      </div>
  {% endfor %}
  <div class="submit-wrapper">
    <input type="submit" value={% trans "Sign Up" %}>
  </div>
</form>


{% endblock %}
